﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RestSharp;

namespace ConsoleApplication5.Feature
{
    class FeatureThirteenDataObtainer : DataObtainer
    {
        public FeatureThirteenDataObtainer(IRestClient restClient)
            : base(restClient)
        {
        }

        public override string ObtainStringData(int movieId, MovieJson movieJson)
        {
            throw new NotImplementedException();
        }

        public override bool ObtainBoolData(int movieId, MovieJson movieJson)
        {
            var lang = new LanguageSetter();
            lang.SetLanguages(ref movieJson);
            return movieJson.isItalian;
        }
    }
}
